// TODO: site logics

$(($) => {
  const $body = $('html, body')

  $('#scroll_top').on('click', () => {
    $body.animate({ scrollTop: 0 }, 600)
    return false
  })
})

const p1 = function () {
  return new Promise((resolve) => {
    let arr = Array.from([1, 2, 3], (x) => x + x)
    setTimeout(() => {
      console.log(arr)
      resolve(arr)
    }, 1000)
  })
}

Object.assign(
  {},
  {
    a: 121,
  }
)
